Skip to content

Don't rely on isProvisional to determine whether atoms computed #16489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 9, 2022

isProvisional can flip at unpredictable points, so we cannot rely on it to be stable between the call to ensureAtomsComputed and after it.

Fixes #16486

isProvisional can flip at unpredictable points, so we cannot rely it
to be stable between the call to `ensureAtomsComputed` and after it.

Fixes scala#16486
Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean

@dwijnand dwijnand merged commit a4a1cbc into scala:main Dec 12, 2022
@dwijnand dwijnand deleted the i16486 branch December 12, 2022 09:16
@Kordyjan Kordyjan added this to the 3.3.0 milestone Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Union type containing Java defined types can lead to crash in multi-stage compilation
3 participants